package com.yl.applicationsecurity.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yl.applicationsecurity.mapper.InspectionMapper;
import com.yl.applicationsecurity.mapper.NationMapper;
import com.yl.applicationsecurity.pojo.Inspection;
import com.yl.applicationsecurity.pojo.Nation;
import com.yl.applicationsecurity.service.InspectionService;
import com.yl.applicationsecurity.service.NationService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class NationServiceImpl extends ServiceImpl<NationMapper, Nation> implements NationService {

    @Override
    public  List<Nation> findByname(String name) {



        LambdaQueryWrapper<Nation> lambdaQueryWrapper = new LambdaQueryWrapper<>();


        List<Nation> list = baseMapper.selectList(lambdaQueryWrapper);




        return list;
    }


}
